package com.qcby.admin.service;

import com.qcby.admin.model.SysRole;
import com.qcby.admin.model.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qcby.framwork.utils.ResponseResult;

import java.util.List;

/**
 * <p>
 * 用户和角色关联表 服务类
 * </p>
 *
 * @author admin
 * @since 2024-09-20
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    List<SysRole> listUserRole(Long userId);

    List<Long> selectRoleIds(Long userId);

    ResponseResult removeByRoleId(Long id);
}
